home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / IDL.lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  12.4 KB  |  539 lines

  1. object SyntAnalyzer11: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Default'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clWindowText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       FormatType = ftCustomFont
  11.     end
  12.     item
  13.       DisplayName = 'uuid'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clRed
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = [fsBold]
  19.     end
  20.     item
  21.       DisplayName = 'Keys'
  22.       Font.Charset = DEFAULT_CHARSET
  23.       Font.Color = clWindowText
  24.       Font.Height = -13
  25.       Font.Name = 'Courier New'
  26.       Font.Style = [fsBold]
  27.     end
  28.     item
  29.       DisplayName = 'Identifier'
  30.       Font.Charset = DEFAULT_CHARSET
  31.       Font.Color = clWindowText
  32.       Font.Height = -13
  33.       Font.Name = 'Courier New'
  34.       Font.Style = []
  35.     end
  36.     item
  37.       DisplayName = 'Comment'
  38.       Font.Charset = DEFAULT_CHARSET
  39.       Font.Color = clFuchsia
  40.       Font.Height = -13
  41.       Font.Name = 'Courier New'
  42.       Font.Style = [fsItalic]
  43.     end
  44.     item
  45.       DisplayName = 'Symbol'
  46.       Font.Charset = DEFAULT_CHARSET
  47.       Font.Color = clMaroon
  48.       Font.Height = -13
  49.       Font.Name = 'Courier New'
  50.       Font.Style = [fsBold]
  51.     end
  52.     item
  53.       DisplayName = 'Int const'
  54.       Font.Charset = DEFAULT_CHARSET
  55.       Font.Color = clNavy
  56.       Font.Height = -13
  57.       Font.Name = 'Courier New'
  58.       Font.Style = [fsBold]
  59.     end
  60.     item
  61.       DisplayName = 'String'
  62.       Font.Charset = DEFAULT_CHARSET
  63.       Font.Color = clBlue
  64.       Font.Height = -13
  65.       Font.Name = 'Courier New'
  66.       Font.Style = []
  67.     end
  68.     item
  69.       DisplayName = 'Marked block'
  70.       Font.Charset = DEFAULT_CHARSET
  71.       Font.Color = clHighlightText
  72.       Font.Height = -13
  73.       Font.Name = 'Courier New'
  74.       Font.Style = []
  75.       BgColor = clHighlight
  76.       FormatType = ftColor
  77.     end
  78.     item
  79.       DisplayName = 'Preprocessor'
  80.       Font.Charset = DEFAULT_CHARSET
  81.       Font.Color = clGreen
  82.       Font.Height = -13
  83.       Font.Name = 'Courier New'
  84.       Font.Style = [fsItalic]
  85.     end>
  86.   TokenRules = <
  87.     item
  88.       DisplayName = 'UUID'
  89.       StyleName = 'uuid'
  90.       TokenType = 10
  91.       Expression = '[\dA-F]{8}-[\dA-F]{4}'#13#10'-[\dA-F]{4}-[\dA-F]{4}'#13#10'-[\dA-F]{12}'#13#10
  92.       ColumnFrom = 0
  93.       ColumnTo = 0
  94.     end
  95.     item
  96.       DisplayName = 'Identifier'
  97.       StyleName = 'Identifier'
  98.       TokenType = 2
  99.       Expression = '[a-z_]\w*'#13#10
  100.       ColumnFrom = 0
  101.       ColumnTo = 0
  102.     end
  103.     item
  104.       DisplayName = 'String'
  105.       StyleName = 'String'
  106.       TokenType = 4
  107.       Expression = '".*?("|$)'#13#10
  108.       ColumnFrom = 0
  109.       ColumnTo = 0
  110.     end
  111.     item
  112.       DisplayName = 'Int const'
  113.       StyleName = 'Int const'
  114.       TokenType = 5
  115.       Expression = '[-+]?\d'#13#10
  116.       ColumnFrom = 0
  117.       ColumnTo = 0
  118.     end
  119.     item
  120.       DisplayName = 'Symbol'
  121.       StyleName = 'Symbol'
  122.       TokenType = 3
  123.       Expression = '[=;\[\]\{\}\(\)]'#13#10
  124.       ColumnFrom = 0
  125.       ColumnTo = 0
  126.     end
  127.     item
  128.       DisplayName = 'Comment'
  129.       StyleName = 'Comment'
  130.       TokenType = 1
  131.       Expression = '//.*'#13#10
  132.       ColumnFrom = 0
  133.       ColumnTo = 0
  134.     end
  135.     item
  136.       DisplayName = 'Multiline comment'
  137.       StyleName = 'Comment'
  138.       TokenType = 1
  139.       Expression = '(?s)/\*.*?(\*/|\Z)'#13#10
  140.       ColumnFrom = 0
  141.       ColumnTo = 0
  142.     end
  143.     item
  144.       DisplayName = 'Preprocessor'
  145.       StyleName = 'Preprocessor'
  146.       TokenType = 9
  147.       Expression = '\#.*'
  148.       ColumnFrom = 0
  149.       ColumnTo = 0
  150.     end>
  151.   BlockRules = <
  152.     item
  153.       DisplayName = 'Key words'
  154.       StyleName = 'Keys'
  155.       BlockType = btTagDetect
  156.       ConditionList = <
  157.         item
  158.           TagList.Strings = (
  159.             '__int3264'
  160.             '__int64'
  161.             'aggregatable'
  162.             'allocate'
  163.             'appobject'
  164.             'arrays'
  165.             'async'
  166.             'async_uuid'
  167.             'auto_handle'
  168.             'bindable'
  169.             'boolean'
  170.             'broadcast'
  171.             'byte'
  172.             'byte_count'
  173.             'call_as'
  174.             'callback'
  175.             'char'
  176.             'coclass'
  177.             'code'
  178.             'comm_status'
  179.             'const'
  180.             'context_handle'
  181.             'context_handle_noserialize'
  182.             'context_handle_serialize'
  183.             'control'
  184.             'cpp_quote'
  185.             'custom'
  186.             'decode'
  187.             'default'
  188.             'defaultbind'
  189.             'defaultcollelem'
  190.             'defaultvalue'
  191.             'defaultvtable'
  192.             'dispinterface'
  193.             'displaybind'
  194.             'dllname'
  195.             'double'
  196.             'dual'
  197.             'enable_allocate'
  198.             'encode'
  199.             'endpoint'
  200.             'entry'
  201.             'enum'
  202.             'error_status_t'
  203.             'explicit_handle'
  204.             'fault_status'
  205.             'first_is'
  206.             'float'
  207.             'handle'
  208.             'handle_t'
  209.             'heap'
  210.             'helpcontext'
  211.             'helpfile'
  212.             'helpstring'
  213.             'helpstringcontext'
  214.             'helpstringdll'
  215.             'hidden'
  216.             'hyper'
  217.             'id'
  218.             'idempotent'
  219.             'ignore'
  220.             'iid_is'
  221.             'immediatebind'
  222.             'implicit_handle'
  223.             'import'
  224.             'importlib'
  225.             'in'
  226.             'in_line'
  227.             'include'
  228.             'int'
  229.             'interface'
  230.             'last_is'
  231.             'lcid'
  232.             'length_is'
  233.             'library'
  234.             'licensed'
  235.             'local'
  236.             'long'
  237.             'max_is'
  238.             'maybe'
  239.             'message'
  240.             'midl_pragma'
  241.             'midl_user_allocate'
  242.             'midl_user_free'
  243.             'min_is'
  244.             'module'
  245.             'ms_union'
  246.             'ncacn_at_dsp'
  247.             'ncacn_dnet_nsp'
  248.             'ncacn_http'
  249.             'ncacn_ip_tcp'
  250.             'ncacn_nb_ipx'
  251.             'ncacn_nb_nb'
  252.             'ncacn_nb_tcp'
  253.             'ncacn_np'
  254.             'ncacn_spx'
  255.             'ncacn_vns_spp'
  256.             'ncadg_ip_udp'
  257.             'ncadg_ipx'
  258.             'ncadg_mq'
  259.             'ncalrpc'
  260.             'nocode'
  261.             'nonbrowsable'
  262.             'noncreatable'
  263.             'nonextensible'
  264.             'notify'
  265.             'object'
  266.             'odl'
  267.             'oleautomation'
  268.             'optimize'
  269.             'optional'
  270.             'out'
  271.             'out_of_line'
  272.             'pipe'
  273.             'pointer_default'
  274.             'propget'
  275.             'propput'
  276.             'propputref'
  277.             'ptr'
  278.             'public'
  279.             'range'
  280.             'readonly'
  281.             'ref'
  282.             'represent_as'
  283.             'requestedit'
  284.             'restricted'
  285.             'retval'
  286.             'shape'
  287.             'short'
  288.             'signed'
  289.             'size_is'
  290.             'small'
  291.             'source'
  292.             'strict_context_handle'
  293.             'string'
  294.             'struct'
  295.             'switch'
  296.             'switch_is'
  297.             'switch_type'
  298.             'transmit_as'
  299.             'typedef'
  300.             'uidefault'
  301.             'union'
  302.             'unique'
  303.             'unsigned'
  304.             'user_marshal'
  305.             'usesgetlasterror'
  306.             'v1_enum'
  307.             'vararg'
  308.             'version'
  309.             'void'
  310.             'warning'
  311.             'wchar_t'
  312.             'wire_marshal')
  313.           TokenTypes = 4
  314.         end>
  315.       HighlightPos = cpAny
  316.       IgnoreAsParent = False
  317.     end
  318.     item
  319.       DisplayName = 'interface'
  320.       ConditionList = <
  321.         item
  322.           TagList.Strings = (
  323.             ';')
  324.           CondType = tcNotEqual
  325.           TokenTypes = 8
  326.         end
  327.         item
  328.           TokenTypes = 4
  329.         end
  330.         item
  331.           TagList.Strings = (
  332.             'interface')
  333.           TokenTypes = 4
  334.         end>
  335.       IdentIndex = 1
  336.       BlockOffset = 2
  337.       BlockEnd = '}'
  338.       GroupFmt = 'Interfaces'
  339.       HighlightPos = cpAny
  340.       IgnoreAsParent = False
  341.     end
  342.     item
  343.       DisplayName = '}'
  344.       BlockType = btRangeEnd
  345.       ConditionList = <
  346.         item
  347.           TagList.Strings = (
  348.             ';')
  349.           TokenTypes = 8
  350.         end
  351.         item
  352.           TagList.Strings = (
  353.             '}')
  354.         end>
  355.       HighlightPos = cpAny
  356.       IgnoreAsParent = False
  357.     end
  358.     item
  359.       DisplayName = 'module'
  360.       ConditionList = <
  361.         item
  362.           TagList.Strings = (
  363.             '{')
  364.           TokenTypes = 12
  365.         end
  366.         item
  367.           TokenTypes = 4
  368.         end
  369.         item
  370.           TagList.Strings = (
  371.             'module')
  372.           TokenTypes = 4
  373.         end>
  374.       IdentIndex = 1
  375.       BlockOffset = 2
  376.       BlockEnd = '}'
  377.       GroupFmt = 'Modules'
  378.       HighlightPos = cpAny
  379.       IgnoreAsParent = False
  380.     end
  381.     item
  382.       DisplayName = 'typedef'
  383.       ConditionList = <
  384.         item
  385.           TagList.Strings = (
  386.             '{')
  387.           TokenTypes = 8
  388.         end
  389.         item
  390.           TokenTypes = 4
  391.         end
  392.         item
  393.           TagList.Strings = (
  394.             'enum'
  395.             'struct')
  396.           TokenTypes = 4
  397.         end
  398.         item
  399.           TagList.Strings = (
  400.             'typedef')
  401.           TokenTypes = 4
  402.         end>
  403.       IdentIndex = 1
  404.       BlockOffset = 3
  405.       BlockEnd = 'typedef end'
  406.       NameFmt = '%e1'
  407.       GroupFmt = '%s2s'
  408.       HighlightPos = cpAny
  409.       IgnoreAsParent = False
  410.     end
  411.     item
  412.       DisplayName = 'library'
  413.       ConditionList = <
  414.         item
  415.           TagList.Strings = (
  416.             '{')
  417.           TokenTypes = 8
  418.         end
  419.         item
  420.           TokenTypes = 4
  421.         end
  422.         item
  423.           TagList.Strings = (
  424.             'library')
  425.           TokenTypes = 4
  426.         end>
  427.       IdentIndex = 1
  428.       BlockOffset = 2
  429.       BlockEnd = '}'
  430.       NameFmt = '%s2 %s1'
  431.       HighlightPos = cpAny
  432.       IgnoreAsParent = False
  433.     end
  434.     item
  435.       DisplayName = 'typedef 2'
  436.       ConditionList = <
  437.         item
  438.           TagList.Strings = (
  439.             '{')
  440.           TokenTypes = 8
  441.         end
  442.         item
  443.           TagList.Strings = (
  444.             'enum'
  445.             'struct')
  446.           TokenTypes = 4
  447.         end
  448.         item
  449.           TagList.Strings = (
  450.             'typedef')
  451.           TokenTypes = 4
  452.         end>
  453.       IdentIndex = 1
  454.       BlockOffset = 2
  455.       BlockEnd = 'typedef end'
  456.       NameFmt = '%e1'
  457.       GroupFmt = '%s1s'
  458.       HighlightPos = cpAny
  459.       IgnoreAsParent = False
  460.     end
  461.     item
  462.       DisplayName = 'typedef end'
  463.       BlockType = btRangeEnd
  464.       ConditionList = <
  465.         item
  466.           TagList.Strings = (
  467.             ';')
  468.           TokenTypes = 8
  469.         end
  470.         item
  471.           TokenTypes = 4
  472.         end
  473.         item
  474.           TagList.Strings = (
  475.             '}')
  476.           TokenTypes = 8
  477.         end>
  478.       HighlightPos = cpAny
  479.       IgnoreAsParent = False
  480.     end
  481.     item
  482.       DisplayName = 'Block comment'
  483.       BlockName = 'Block comment'
  484.       NotParent = True
  485.       ConditionList = <
  486.         item
  487.           TokenTypes = 2
  488.         end>
  489.       BlockEnd = 'Block comment end'
  490.       DisplayInTree = False
  491.       HighlightPos = cpAny
  492.       IgnoreAsParent = False
  493.     end
  494.     item
  495.       DisplayName = 'Block comment end'
  496.       BlockType = btRangeEnd
  497.       ConditionList = <
  498.         item
  499.           TokenTypes = 2045
  500.         end
  501.         item
  502.           TokenTypes = 2
  503.         end>
  504.       BlockOffset = 1
  505.       HighlightPos = cpAny
  506.       IgnoreAsParent = False
  507.     end>
  508.   CodeTemplates = <>
  509.   SubAnalyzers = <>
  510.   SampleText.Strings = (
  511.     '/* CORBA IDL sample source  */'
  512.     '#include <sample.idl>'
  513.     '                           '
  514.     'const string TestString = "Hello World";'
  515.     'const long TestLong = 10;'
  516.     ''
  517.     'module TestModule {'
  518.     '  interface DemoInterface {'
  519.     '    boolean HelloWorld(in string Message);'
  520.     '  }'
  521.     '}')
  522.   TokenTypeNames.Strings = (
  523.     'Unknown'
  524.     'Comment'
  525.     'Identifier'
  526.     'Symbol'
  527.     'String'
  528.     'Integer const'
  529.     'Float const'
  530.     'Hex const'
  531.     'Char const'
  532.     'Preprocessor'
  533.     'UUID')
  534.   MarkedBlockStyle = 'Marked block'
  535.   DefaultStyleName = 'Default'
  536.   Extentions = 'idl'
  537.   LexerName = 'IDL files'
  538. end
  539.